<form action="{{ url('/database/designer') }}" method="post" name="edit_delete_pages" id="edit_delete_pages" class="ajax">
  {{ get_hidden_inputs(db) }}
  <input type="hidden" name="operation" value="{{ operation }}">
  <label for="selected_page">
    {{ operation == 'editPage' ? t('Page to open') : t('Page to delete') }}:
  </label>
  {% include 'database/designer/page_selector.twig' with {
    'pdfwork': pdfwork,
    'pages': pages
  } only %}
</form>
